package 面向对象_中.e多态性.向下转型和instanceof;

/**
 * @Projectname java_based
 * @Filename Person
 * @Author an
 * @Data 2022/7/2 9:06
 * @Description TODO
 */
public class Person {
    String name;
    int age;

    public void eat(){
        System.out.println("人，吃饭");
    }

    public void walk(){
        System.out.println("人，走路");
    }

}
